\documentclass[border=5mm]{standalone}
\usepackage{tikz}
\usepackage{tikz-qtree}

\begin{document}
\begin{tikzpicture}[every tree node/.style={align=center}]
    \matrix[row sep=1cm, column sep=1cm] {
    \Tree
    [.\node[draw, rectangle]{10 20 \textcolor{red}{24}};
    [.\node[draw, rectangle]{5}; ]
    [.\node[draw, rectangle]{17};    ]
    [.\node[draw, rectangle]{22};    ]
    [.\node[draw, rectangle]{25 29};    ]
    ]; \\
    };
\end{tikzpicture}
\end{document}
